import request from '../utils/request.js'

const prefix = '/usrservice/user'

export default {
	
	/**
	 * 登录
	 */
	user_login(user) {
		return request({
			url:`${prefix}/login`,
			method:'post',
			data:user
		})
	},
	
	/**
	 * 注册
	 */
	user_register(user) {
		return request({
			url:`${prefix}/register`,
			method:'post',
			data:user
		})
	}
}